import ddddocr

ocr = ddddocr.DdddOcr()
f = open('数字图片验证码\\418226.png',mode='rb')
img = f.read()
result = ocr.classification(img)
print(result)
